package com.sinba.common.business.dto;

import java.util.Date;
import java.util.List;
import java.util.Set;

import com.sinba.common.dto.BaseDTO;

/**
 * 买入
 * @author Think
 *
 */
@SuppressWarnings({ "serial" })
public class BuyGridDTO extends BaseDTO{
	private Long id;
	private String bcode;
	private String buyUser;//买入会员
	private String buyUserName;//姓名
	private Long buyMoney;//买入金额
	private Integer status=0;//状态（0排队中,1匹配成功，3交易成功,4已取消）
	private Date matchTime;//匹配时间
	private Integer priority;//优先级
	private Date createTime;
	private Long surplusMoney=0L;
	private Integer queuingDays=0;
	private Double buyPrice;//买入价格
	private Double dBuyMoney;//买入金额
	private Double dSurplusMoney=0D;//剩余
	private String remark;
	private List<SellGridDTO> sellGrids;
	private Long holdStock;//持有股数
	private Set<Double> buyPrices;//持有股数
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getBuyUser() {
		return buyUser;
	}
	public void setBuyUser(String buyUser) {
		this.buyUser = buyUser;
	}
	public Long getBuyMoney() {
		return buyMoney;
	}
	public void setBuyMoney(Long buyMoney) {
		this.buyMoney = buyMoney;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Date getMatchTime() {
		return matchTime;
	}
	public void setMatchTime(Date matchTime) {
		this.matchTime = matchTime;
	}
	public Integer getPriority() {
		return priority;
	}
	public void setPriority(Integer priority) {
		this.priority = priority;
	}
	public String getBuyUserName() {
		return buyUserName;
	}
	public void setBuyUserName(String buyUserName) {
		this.buyUserName = buyUserName;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Long getSurplusMoney() {
		return surplusMoney;
	}
	public void setSurplusMoney(Long surplusMoney) {
		this.surplusMoney = surplusMoney;
	}
	public Integer getQueuingDays() {
		return queuingDays;
	}
	public void setQueuingDays(Integer queuingDays) {
		this.queuingDays = queuingDays;
	}
	public Double getBuyPrice() {
		return buyPrice;
	}
	public void setBuyPrice(Double buyPrice) {
		this.buyPrice = buyPrice;
	}
	public Double getdBuyMoney() {
		return dBuyMoney;
	}
	public void setdBuyMoney(Double dBuyMoney) {
		this.dBuyMoney = dBuyMoney;
	}
	public Double getdSurplusMoney() {
		return dSurplusMoney;
	}
	public void setdSurplusMoney(Double dSurplusMoney) {
		this.dSurplusMoney = dSurplusMoney;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getBcode() {
		return bcode;
	}
	public void setBcode(String bcode) {
		this.bcode = bcode;
	}
	public List<SellGridDTO> getSellGrids() {
		return sellGrids;
	}
	public void setSellGrids(List<SellGridDTO> sellGrids) {
		this.sellGrids = sellGrids;
	}
	public Long getHoldStock() {
		return holdStock;
	}
	public void setHoldStock(Long holdStock) {
		this.holdStock = holdStock;
	}
	public Set<Double> getBuyPrices() {
		return buyPrices;
	}
	public void setBuyPrices(Set<Double> buyPrices) {
		this.buyPrices = buyPrices;
	}
}
